﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SignStat.aspx.cs" Inherits="Page_SignStat" %>
<%@ Register TagName="pager" TagPrefix="uc" Src="~/Control/Pager.ascx"  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>签到记录</title>
    <link href="../Style/Css/Css.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../Js/calendar.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <table id="Table1" height="100%" cellspacing="0" cellpadding="0" width="100%" align="right"
        border="0">
        <tr valign="top" style="padding: 0px">
            <td>
                <table height="100%" class="VehicleTitle" cellspacing="0" cellpadding="0" width="100%"
                    style="height: 25px;" border="0">
                    <tr>
                        <td class="TitleBar">
                            <div class="MainTitle2">
                                签到记录</div>
                        </td>
                    </tr>
                </table>
                <table id="Table2" cellspacing="0" cellpadding="0" width="100%" border="0">
                    <tr>
                        <td>
                            <table id="Table3" cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
                                <tr height="35">
                                    <td align="right" class="ToolBar">
                                        <asp:TextBox runat="server" ID="tbStart" CssClass="TextboxRead" onclick="calendar()"></asp:TextBox>
                                        -<asp:TextBox runat="server" ID="tbEnd" CssClass="TextboxRead" onclick="calendar()"></asp:TextBox>
                                        <asp:Button runat="server" ID="btnSearch" CssClass="Button01" Text="查询" OnClick="btnSearch_Click" />
                                        <asp:Button runat="server" ID="btnExport" CssClass="Button01" Text="导出" OnClick="btnExport_Click" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center">
                                        <table class="Table" width="100%" align="center" cellpadding="1" cellspacing="4">
                                            <tr class="TableHeader">
                                                <td width="40">
                                                    序号
                                                </td>
                                                <td>
                                                    部门
                                                </td>
                                                <td width="200">
                                                    人员
                                                </td>
                                                <td width="200">
                                                    签到时间
                                                </td>
                                            </tr>
                                            <asp:Repeater runat="server" ID="rpList">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td>
                                                            <%#Container.ItemIndex+1 %>
                                                        </td>
                                                        <td>
                                                            <%#Eval("DepartmentDisplayName") %>
                                                        </td>
                                                        <td>
                                                            <%#Eval("SignDisplayName") %>
                                                        </td>
                                                        <td>
                                                            <%#Eval("SignTime") %>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            
                                        </table>
                                        <uc:pager runat="server" id="pager1"  OnPreRender="Pager_PreRender"></uc:pager>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
